package ankang.day140104;

import java.util.Scanner;

public class Test8 {
    public static void main(String[] args) {
        //1.用for循环 循环输入10个数字， 将每个数都累加
        Scanner s=new Scanner(System.in);
        int sum=0;
        for (int i = 1; i <= 10; i++) {
            int number=s.nextInt();
            sum=sum+number;
        }
        //2.在循环外边  累加结果/10.0
        System.out.println(sum/10.0);
    }
}
